<template>
  <div class="login">
    <h1>登陆</h1>

    <div>
      <h5>账号</h5>
      <el-input></el-input>
    </div>

    <div>
      <h5>密码</h5>
      <el-input></el-input>
    </div>

    <div>
      <el-button type="primary" round>登陆</el-button>
    </div>
  </div>
</template>

<script>
export default {
  methods:{
    login(){
      this.axios.get().then(()=>{
        setCookie('token',xxxx)
      })
    }
  }
}
</script>


<style lang="scss" scoped>
  .login{
    width: 450px;
    margin : 100px auto 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    .el-button{
      width: 50%;
      margin-top:  20px;
      margin-left: 25%;
    }
  }
</style>

